import axios from "../utils/request";

export function getdefaultAddress(data) {
    return axios.post("/address/defaultAddress",data)
}
export function getAddressList(params) {
    return axios.get("/address/list",{params})
}
export function delAddress(data) {
    return axios.post("/address/delete",data)
}
export function addAddress(data) {
    return axios.post("/address/add",data)
}
export function updateAddress(data) {
    return axios.post("/address/update",data)
}
export function updateOrderAddress(data) {
    return axios.post("/order/updateOrderAddress",data)
}



